/*
 * @Author: zhangwei 1405298045@qq.com
 * @Date: 2022-03-31 14:54:49
 * @LastEditTime: 2022-04-13 10:27:01
 * @LastEditors: zhangwei 1405298045@qq.com
 * @Description:
 * @FilePath: /ll-fe-mp-dyfx/src/pages.js
 *
 */
const { hot } = require('uni-pages-hot-modules');

module.exports = hot((pagesJson = {}) => {
	// tabBar的初始配置
	const tabBar = require('./page-modules/modules/tabBar.js');

	const pages = [...require('./page-modules/modules/index.js')];

	// subPackages的初始配置
	const subPackages = [
		require('./page-modules/modules/order.js'),
		require('./page-modules/modules/login.js'),
		require('./page-modules/modules/other.js'),
		require('./page-modules/modules/tandian.js'),
		require('./page-modules/modules/material.js'),
		require('./page-modules/modules/setup.js'),
		require('./page-modules/modules/third.js'),
		require('./page-modules/modules/newMaterial.js')
	];

	return {
		...pagesJson,
		pages,
		tabBar,
		subPackages
	};
});
